<?php


namespace app\dao\pc;


use app\dao\BaseDao;
use app\model\pc\FacadeNotice;

class NoticeDao extends BaseDao
{
    protected function setModel(): string
    {
        return FacadeNotice::class;
    }
    /**
     * 获取通知
     */
    public function getNotice(array $where){

        return $this->getModel()
            ->where('website_id',$where['website_id'])
            -> select();
    }

}